Skip to content

chore: keep root agent instructions out of the repo - #89

Merged
anton061311 merged 2 commits into
devfrom
chore/remove-root-agent-instructions
Nov 13, 2026
Merged

anton061311 merged 2 commits into
devfrom
chore/remove-root-agent-instructions

Conversation

@anton061311

Copy link
Copy Markdown
Collaborator

1. 📝 요약

루트 AGENTS.md, CLAUDE.md(에이전트 지침)를 레포에서 지우고 .gitignore에 넣습니다. 이제 각자 PC에서 관리합니다. 팀이 함께 지켜야 하는 기준은 이미 docs/(불변식, 계약, ADR)와 CONTRIBUTING.md에 있어서, 에이전트 지침까지 공유할 필요는 없다고 판단했습니다.

2. 🔧 변경 사항

  • 루트 AGENTS.md, CLAUDE.md 삭제. .gitignore에 /AGENTS.md, /CLAUDE.md 추가 (루트만 무시. 하위 폴더 지침은 계속 레포에 둠)
  • CONTRIBUTING.md에 안내를 넣었습니다: 개인 파일로 쓰는 법, 예전 내용을 꺼내는 명령

3. 🔎 리뷰 포인트

  • ⚠️ 팀원 영향: 머지 뒤 dev를 pull하면 각자 PC의 루트 AGENTS.md, CLAUDE.md도 지워집니다. 계속 쓰려면 pull 전에 복사해 두거나, pull 뒤 아래 명령으로 되살리면 됩니다. 되살린 파일은 무시되므로 다시 커밋되지 않습니다.
    git show 0fb7131:AGENTS.md > AGENTS.md
    git show 0fb7131:CLAUDE.md > CLAUDE.md
  • 문서의 "AGENTS.md 5절" 같은 언급은 그대로 둡니다. 예전 내용이 위 명령으로 남아 있습니다.

4. 🧪 테스트

  • git check-ignore -v: 루트 두 파일만 무시되고 backend/src/main/java/com/restless/drop/AGENTS.md는 무시되지 않음을 확인
  • 코드 변경은 없습니다. 빌드·테스트는 CI 결과로 확인합니다

5. 🔗 관련 이슈

Closes #88

Root AGENTS.md and CLAUDE.md become personal, git-ignored files. Team rules live in docs/ and CONTRIBUTING.md. CONTRIBUTING explains how to restore the old content from 0fb7131.

Closes #88
@anton061311 anton061311 added this to the Phase 1 - FANQ milestone Nov 13, 2026
@anton061311 anton061311 self-assigned this Nov 13, 2026
@anton061311
anton061311 merged commit e91bfbb into dev Nov 13, 2026
2 checks passed
@anton061311
anton061311 deleted the chore/remove-root-agent-instructions branch November 13, 2026 17:08
anton061311 added a commit that referenced this pull request Nov 13, 2026
…md from main checkout (#91)

* docs(drop): restore drop agent instructions

#86 was merged at the commit that git-ignored them, and #89 replaced those ignore lines. The files are the version reviewed in #86.

Refs #90

* chore(harness): read the personal root AGENTS.md from the main checkout

Root AGENTS.md is git-ignored since #89, so stage worktrees do not have it. The spec opens it by absolute path; the drop instructions are versioned again and read by relative path.

Refs #90

* chore(harness): keep agents from editing the root agent instructions

Guard tests: 49 cases pass on drop, harness and other branches.

Refs #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore] 루트 AGENTS.md·CLAUDE.md를 레포에서 빼고 개인 파일로

1 participant